package com.eclink.asset.consume.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eclink.asset.consume.domain.dao.ConsumeInventory;
import com.eclink.asset.consume.domain.dto.ConsumeInventoryQueryDTO;
import com.eclink.asset.consume.domain.query.ConsumeInventoryCheckAddQueryRangeForm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ConsumeInventoryMapper extends BaseMapper<ConsumeInventory> {

    Page<ConsumeInventory> getList(IPage<ConsumeInventory> page, @Param("params") ConsumeInventoryQueryDTO params);

    List<ConsumeInventory> getListAll(Long fileId);

    List<ConsumeInventory> getListByBaseForm(ConsumeInventoryCheckAddQueryRangeForm baseForm);


}
